package com.cn.happymall.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cn.happymall.bean.MmallOrderItem;
import com.cn.happymall.bean.MmallOrderItemExample;

public interface MmallOrderItemMapper {
	int countByExample(MmallOrderItemExample example);

	int deleteByExample(MmallOrderItemExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(MmallOrderItem record);

	int insertSelective(MmallOrderItem record);

	List<MmallOrderItem> selectByExample(MmallOrderItemExample example);

	MmallOrderItem selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") MmallOrderItem record,
			@Param("example") MmallOrderItemExample example);

	int updateByExample(@Param("record") MmallOrderItem record, @Param("example") MmallOrderItemExample example);

	int updateByPrimaryKeySelective(MmallOrderItem record);

	int updateByPrimaryKey(MmallOrderItem record);
}